<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:form action="/View/customerlogin.do" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<center>
	<h1>Welcome to Customer page <bean:write property="lastName"
		name="customer" /> <bean:write property="firstName" name="customer" /></h1>
	</center>
	<br>
	
	<center>
	<div >
 

	
	<a href="../View/searchflightsList.jsp">Make Reservation</a>&nbsp;&nbsp;
	<a href="../View/deletejourneyid.jsp">Cancel Reservation</a>&nbsp;&nbsp;
	<a href="../View/editcustomer.jsp">Edit profile</a>&nbsp;&nbsp;
	<br>&nbsp;&nbsp;
	
	
</div>

			<table>
	
	
		<tr>

	

			<td align="center">Customer Details <br>
			<br>

			<table border="1" cellspacing="1" bordercolor="blue" width="200px">
				<tr>

					<td style="color: black">Last Name:</td>
					<td><bean:write property="lastName" name="customer" /></td>
	</tr>
	<tr>
					<td style="color: black">First Name:</td>
					<td><bean:write property="firstName" name="customer" /></td>
				<tr>

					<td style="color: black">Address:</td>
					<td><bean:write property="address" name="customer" /></td>
				</tr>
				<tr>
					<td style="color: black">City:</td>
					<td><bean:write property="city" name="customer" /></td>
					</tr>
					<tr>
					<td style="color: black">State:</td>
					<td><bean:write property="state" name="customer" /></td>
				</tr>
				<tr>
					<td style="color: black">Zip Code:</td>
					<td><bean:write property="zipCode" name="customer" /></td>
				</tr>
				<tr>
					<td style="color: black">Date of Birth:</td>
					<td><bean:write property="dateOfBirth" name="customer" /></td>
				</tr>
				<tr>
					<td style="color: black">Passport Number:</td>
					<td><bean:write property="passportNumber" name="customer" /></td>
				<tr>
					<td style="color: black">Nationality:</td>
					<td><bean:write property="nationality" name="customer" /></td>

				</tr>
			</table>
			</td>

		</tr>
	</table>
	</center>
</body>
</html:form>